function love.load()

	font = love.graphics.newFont("font/SourceHanSansCN-Normal.otf",24)
end
function love.draw()
   love.graphics.push()
   love.graphics.scale(0.5, 0.5)   -- reduce everything by 50% in both X and Y coordinates
   love.graphics.print("Scaled text", 50, 50)
   love.graphics.pop()
   love.graphics.print("Normal text", 50, 50)
  
  love.graphics.setColor(255, 255, 255)
  love.graphics.setFont(font)
  
  --绘制棋盘
  local mapx=10
  local mapy=10
  local mapxsum=love.graphics.getWidth()
  local mapysum= love.graphics.getHeight()
  --绘制竖线
  for var=0,32,1 do  
      love.graphics.line(mapx+var*32,0,mapx+var*32,mapysum)  
  end  

  --绘制横线
  for var=0,32,1 do  
      love.graphics.line(0,mapy+var*32,mapxsum,mapy+var*32)  
  end
  
  --绘制矩形
  love.graphics.rectangle("fill", 788, 10, 200, 200 )
  
  --绘制圆形
    --love.graphics.setColor(255, 255, 255)
    love.graphics.circle("fill", 466, 666, 50, 100) -- Draw white circle with 100 segments.
    --love.graphics.setColor(255, 0, 0)
    love.graphics.circle("fill", 566, 666, 50, 5)   -- Draw red circle with five segments.
    
  love.graphics.setFont(font)
  love.graphics.print("货币",788,10)
	love.graphics.print("金融帝国实验室",788,40)
  love.graphics.print("Monopoly",788,70)
  love.graphics.print("多人在线",788,100)
  love.graphics.print("QQ群：2199361",788,130)
  love.graphics.print("一款支持全平台的游戏",788,160)
  --love.graphics.line(10,10,10,600, 600,600, 600,10, 10,10) 
  --11.1
  --love.graphics.ellipse("fill",100,100,50,50,100) -- Draw white ellipse with 100 segments.
  image1 = love.graphics.newImage( "images/skin/skin-1/Farm.png" )
  love.graphics.draw(image1,106,106)
  image2 = love.graphics.newImage( "images/logo.png" )
  love.graphics.draw(image2,788,190)
  image3 = love.graphics.newImage( "images/steering_wheel.png" )
  love.graphics.draw(image3,10,522)
end

function love.keypressed( key )
    if key == "c" then
        clear = not clear
    end
end